package com.gitee.melin.bee.core.jdbc.dialect.cassandra;

import com.gitee.melin.bee.core.jdbc.dialect.AbstractDBQuery;

public class CassandraQuery extends AbstractDBQuery {

    @Override
    public String tablesSql(String schemaName) {
        throw new IllegalStateException("not support");
    }

    @Override
    public String columnsSql(String schemaName, String tableName) {
        throw new IllegalStateException("not support");
    }

    @Override
    public String schemaName() {
        return "OWNER";
    }

    @Override
    public String tableName() {
        return "TABLE_NAME";
    }

    @Override
    public String tableComment() {
        return "COMMENTS";
    }

    @Override
    public String tableType() {
        return "TABLE_TYPE";
    }

    @Override
    public String columnName() {
        return "COLUMN_NAME";
    }

    @Override
    public String columnType() {
        return "DATA_TYPE";
    }

    @Override
    public String columnComment() {
        return "COMMENTS";
    }

    @Override
    public String columnKey() {
        return "KEY";
    }

    @Override
    public String isNullable() {
        return "NULLABLE";
    }

    @Override
    public String nullableValue() {
        return "Y";
    }
}
